#include<graphics.h>
#include<conio.h>
void gameover()
{
	EndBatchDraw();
	getch();
	closegraph();
}
int main()
{
	startup();
	while (1)
	{
		show();
		updateWithoutInput();
		updateWithInput();
	}
	gameover();
	return 0;
}